package com.qf.kaohe.pojo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ExcelIgnoreUnannotated
public class TUser {
    @ExcelProperty(index = 0,value = "ID")
    private Integer id;
    @ExcelProperty(index = 1,value = "字典名称")
    private String name;
    @ExcelProperty(index = 2,value = "字典类型")
    private String type;
    @ExcelProperty(index = 5,value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date time;
    @ExcelProperty(index = 4,value = "备注")
    private String note;
    @ExcelProperty(index = 3,value = "是否删除")
    private String isDelete;

}